package com.lzy.health.service.impl;

import com.lzy.health.dao.UserDao;
import com.lzy.health.pojo.User;
import com.lzy.health.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;
    @Override
    public User findByUserName(String username){
        return userDao.selectByUsername(username);
    }
}
